# encoding:utf-8
import requests 

# client_id 为官网获取的AK， client_secret 为官网获取的SK























































#host = 'https://www.sina.com.cn/'
host = 'https://aip.baidubce.com/oauth/2.0/token?grant_type=client_credentials&client_id=K74KlCVTweR9V6FZ4dV56hzu&client_secret=TaoLviGh3bN1oGajlqBwR5sl9jGHulGB'
response = requests.get(host)
print(response)
if response:
    print(response.json())